package com.yueyang.sojourn.server.model.po;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 可以理解为酒店每个房间对应的入住人及入住时间
 *
 * @author yemingxing
 * @summary 订单库存占用信息
 * @Copyright (c) 2020, Yueyang Group All Rights Reserved.
 * @since 2020-04-05 12:31
 */
@Data
public class SojournOrderInventory implements Serializable {
    private static final long serialVersionUID = -8639501494477296420L;
    /**
     * 主键id
     */
    private Integer id;

    /**
     * 订单编号
     */
    private String orderSn;

    /**
     * 商品id
     */
    private Long merchId;

    /**
     * 库存占用生效日期
     */
    private Date effectDate;

    /**
     * 单日占用库存数(出行人数)
     */
    private Integer number;

    /**
     * 状态
     */
    private Integer status;

    /**
     *
     */
    private Long creator;

    /**
     *
     */
    private Date createdTime;

    /**
     *
     */
    private Long updator;

    /**
     *
     */
    private Date updatedTime;
}